package com.cts.tmall.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@TableName(value = "tmall_prd", autoResultMap = true)
public class TmallPrd {
    @TableId(value = "prd_no", type = IdType.AUTO)
    private Long prdNo;
    private String prdName;
    private String prdSubName;
    private String prdType;
    private String prdClass;
    private String prdStatus;
    private String checkStatus;
    private String isPresell;
    private String isRecycle;
    private String payType;
    private String isChannelShow;
    private Date saleTime;
    private String offSaleDesc;
    private String prdDesc;
    private Double prdPrice;
    private Long prdCount;
    private Long prdSaleCount;
    private String expressTemplate;
    private String prdImgCover;
    private String prdImg01;
    private String prdImg02;
    private String prdImg03;
    private String prdImg04;
    private String prdImg05;
    private String prdImg06;
    private String prdImg07;
    private String prdImg08;
    private String prdImg09;
    private String prdImg10;
    private Date createTime;
    private Long createUserId;
    private Date updateTime;
    private Long updateUserId;

    @TableField(exist = false)
    private List propList;
    @TableField(exist = false)
    private List skuList;
}
